func text/template/parse.rightTrimLength

2 uses

	text/template/parse (current package)
		lex.go#L258: 			trimLength = rightTrimLength(l.input[l.start:l.pos])
		lex.go#L280: func rightTrimLength(s string) Pos {